package com.talent.service.iot.mqtt.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName：TlAuthProperties
 * @Author: hszhou
 * @Date: 2025/2/8 9:52
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@ConfigurationProperties(prefix = "mqtt.auth")
@Component
public class TlAuthProperties {

    private boolean enabled;

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}
